package operation;

import book.BookList;

public class DisplayOperation implements Operation {
    @Override
    public void work(BookList bookList) {
        for (int i = 0; i < bookList.getBookListSize(); i++) {
            System.out.println(bookList.getBookByPos(i));
        }
    }
}
